export interface ProductSpec {
    color?: string;
    storage?: string;
    version?: string;
}

export interface Product {
    id: string;
    name: string;
    price: number;
    originalPrice?: number;
    description: string;
    specs: {
        colors: string[];
        storages: string[];
        versions: string[];
    };
    images: string[];
    features: string[];
    parameters: {
        [key: string]: string;
    };
    services: {
        id: string;
        name: string;
        price: number;
        description: string;
    }[];
    accessories: {
        id: string;
        name: string;
        price: number;
        image: string;
        description: string;
    }[];
}

export interface CartItem extends Product {
    quantity: number;
    selectedSpecs: ProductSpec;
    selectedServices: string[];
    selectedAccessories: string[];
} 